<? if(!defined('IN_DISCUZ')) exit('Access Denied'); 
0
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/discuz.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/header.htm', 1226905470, '1', './templates/default')
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/discuz.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/footer.htm', 1226905470, '1', './templates/default')
|| checktplrefresh('/home/tfbjcc/public_html/utopia/bbs/././templates/default/discuz.htm', '/home/tfbjcc/public_html/utopia/bbs/././templates/default/jsmenu.htm', 1226905470, '1', './templates/default')
;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" />
<title><?=$navtitle?> <?=$bbname?> <?=$seotitle?> - Powered by Discuz!</title>
<?=$seohead?>
<meta name="keywords" content="<?=$metakeywords?><?=$seokeywords?>" />
<meta name="description" content="<?=$metadescription?> <?=$bbname?> <?=$seodescription?> - Discuz! Board" />
<meta name="generator" content="Discuz! <?=$version?>" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2008 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<link rel="archives" title="<?=$bbname?>" href="<?=$boardurl?>archiver/" />
<?=$rsshead?>
<?=$extrahead?>
<? if(CURSCRIPT == 'viewthread') { ?>
	<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_viewthread.css" />
	<? if($thread['special']) { ?>
		<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_special.css" />
	<? } } elseif(CURSCRIPT == 'post') { ?>
	<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_editor.css" />
<? } ?>
<link rel="stylesheet" type="text/css" href="forumdata/cache/style_<?=STYLEID?>_common.css" />
<script type="text/javascript">
	var discuz_uid = <?=$discuz_uid?>;var IMGDIR = '<?=IMGDIR?>';var attackevasive = '<?=$attackevasive?>';var gid = 0;var STYLEID = '<?=STYLEID?>';
	<? if(in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))) { ?>gid = parseInt('<?=$thisgid?>');<? } elseif(CURSCRIPT == 'index') { ?>gid = parseInt('<?=$gid?>');<? } ?>var fid = parseInt('<?=$fid?>');var tid = parseInt('<?=$tid?>');
</script>
<script src="include/javascript/common.js" type="text/javascript"></script>
</head>

<body onkeydown="if(event.keyCode==27) return false;">

	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<div class="wrap">
		<div id="header">
			<h2><a href="<?=$indexname?>" title="<?=$bbname?>"><?=BOARDLOGO?></a></h2>
			<div id="ad_headerbanner"><? if($admode && empty($insenz['hardadstatus']) && !empty($advlist['headerbanner'])) { ?><?=$advlist['headerbanner']?><? } ?></div>
		</div>
		<div id="menu">
			<span class="avataonline">
			<? if($discuz_uid) { ?>
				<cite><a class="dropmenu" id="viewpro" onmouseover="showMenu(this.id)"><?=$discuz_userss?></a></cite>
				<a href="<?=$link_logout?>">退出</a>
			<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
				<cite><a id="loginuser" class="dropmenu"><?=$_DCOOKIE['loginuser']?></a></cite>
				<a href="<?=$link_login?>">激活</a>
				<a href="<?=$link_logout?>">退出</a>
			<? } else { ?>
				<a href="<?=$link_register?>"><?=$reglinkname?></a>
				<a href="<?=$link_login?>">登录</a>
			<? } ?>
			</span>
		<? if($_DCACHE['settings']['frameon'] > 0) { ?>
			<span class="frameswitch">
			<script type="text/javascript">
			if(top == self) {
			<? if(($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))) { ?>
				top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
			<? } ?>
				document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">分栏模式<\/a>');
			} else {
				document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">平板模式<\/a>');
			}
			</script>
			</span>
		<? } ?>
			<ul>
			<? if($discuz_uid) { ?><li><a href="###" class="notabs" id="pmnotice" onclick="pmwin('open')"><? if(!$newpm) { ?>短消息<? } else { ?><font style="color:#FF0000">您有新短消息</font><? if($pmsound) { ?><bgsound src="images/sound/pm_<?=$pmsound?>.wav" /><? } } ?></a></li><? } ?>
			<? if($memliststatus) { ?><li<? if($BASESCRIPT == 'member.php') { ?> class="current"<? } ?>><a href="member.php?action=list">会员</a></li><? } ?>
			<? if($allowsearch || $qihoo['status']) { ?><li<? if($BASESCRIPT == 'search.php') { ?> class="current"<? } ?>><a href="search.php<? if(!empty($fid)) { ?>?srchfid=<?=$fid?><? } ?>">搜索</a></li><? } ?>
			<? if($tagstatus) { ?><li<? if($BASESCRIPT == 'tag.php') { ?> class="current"<? } ?>><a href="tag.php">标签</a></li><? } ?>
			<? if(!empty($plugins['links'])) { if(is_array($plugins['links'])) { foreach($plugins['links'] as $module) { ?>						<? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?><li><?=$module['url']?></li><? } ?>
				<? } } } ?>
			<? if($discuz_uid) { ?>
				<? if($jsmenu['4']) { ?><li id="my" class="dropmenu<? if($BASESCRIPT == 'my.php') { ?> current<? } ?>" onmouseover="showMenu(this.id)"><a href="my.php">我的</a></li><? } else { ?><li<? if($BASESCRIPT == 'my.php' && $item == 'threads') { ?> class="current"<? } ?>><a href="my.php?item=threads">我的话题</a></li><li<? if($BASESCRIPT == 'my.php' && $item == 'grouppermission') { ?> class="current"<? } ?>><a href="my.php?item=grouppermission">我的权限</a></li><? } ?>
				<? if($jsmenu['2']) { ?><li id="memcp" class="dropmenu<? if($BASESCRIPT == 'memcp.php') { ?> current<? } ?>" onmouseover="showMenu(this.id)"><a href="memcp.php">控制面板</a></li><? } else { ?><li<? if($BASESCRIPT == 'memcp.php') { ?> class="current"<? } ?>><a href="memcp.php">控制面板</a></li><? } ?>
				<? if($regstatus > 1 && $allowinvite) { ?><li<? if($BASESCRIPT == 'invite.php') { ?> class="current"<? } ?>><a href="invite.php">邀请注册</a></li><? } ?>
				<? if($magicstatus) { ?><li<? if($BASESCRIPT == 'magic.php') { ?> class="current"<? } ?>><a href="magic.php">道具</a></li><? } ?>
			<? } ?>
			<? if(!empty($plugins['jsmenu'])) { ?><li id="plugin" class="dropmenu" onmouseover="showMenu(this.id)"><a href="#"><?=$pluginjsmenu?></a></li><? } ?>
			<? if($allowviewstats) { if(!empty($jsmenu['3'])) { ?><li id="stats" class="dropmenu<? if($BASESCRIPT == 'stats.php') { ?> current<? } ?>" onmouseover="showMenu(this.id)"><a href="stats.php">统计</a></li><? } else { ?><li<? if($BASESCRIPT == 'stats.php') { ?> class="current"<? } ?>><a href="stats.php">统计</a></li><? } } if(is_array($ucapp)) { foreach($ucapp as $app) { ?>					<? if($app['url']) { ?><li><a href="<?=$app['url']?>" target="_blank"><?=$app['name']?></a></li><? } ?>
			<? } } if($discuz_uid && $adminid == 1) { ?><li><a href="admincp.php" target="_blank">系统设置</a></li><? } ?>
			<? if($discuz_uid && $adminid > 1) { ?><li><a href="modcp.php?fid=<?=$fid?>" target="_blank">版主管理面板</a></li><? } ?>
				<li<? if($BASESCRIPT == 'faq.php') { ?> class="current"<? } ?>><a href="faq.php">帮助</a></li>
			</ul>
		</div><div id="foruminfo">
	<div id="userinfo">
		<div id="nav">
			<? if($gid || !$discuz_uid) { ?><a href="<?=$indexname?>"><?=$bbname?></a><? } ?>
		</div>
		<p>
		<? if($discuz_uid) { ?>
			<? if($allowinvisible) { ?>状态:
			<span id="loginstatus"><? if(!empty($invisible)) { ?><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">隐身模式</a><? } else { ?><a href="member.php?action=switchstatus" title="切换到隐身模式" onclick="ajaxget(this.href, 'loginstatus');doane(event);">正常模式</a><? } ?></span><br />
			<? } ?>
			您上次访问是在: <em><?=$lastvisittime?></em>
			<? if(!empty($google) && ($google & 1)) { ?><br /><? } ?>
			<a href="search.php?srchfrom=<?=$newthreads?>&amp;searchsubmit=yes">查看新帖</a>
			<a href="member.php?action=markread" id="ajax_markread" onclick="ajaxmenu(event, this.id)">标记已读</a>
		<? } elseif(!empty($_DCOOKIE['loginuser'])) { ?>
			<em><?=$_DCOOKIE['loginuser']?></em>, <a href="logging.php?action=login">您的帐号需要激活</a>
		<? } else { ?>
			<form id="loginform" method="post" name="login" action="logging.php?action=login&amp;loginsubmit=true">
				<input type="hidden" name="formhash" value="<?=FORMHASH?>" />
				<input type="hidden" name="cookietime" value="2592000" />
				<input type="hidden" name="loginfield" value="username" />
				<input type="text" id="username" name="username" size="15" maxlength="40" tabindex="1" value="用户名" onclick="this.value = ''" />
				<input type="password" id="password" name="password" size="10" tabindex="2" onkeypress="if((event.keyCode ? event.keyCode : event.charCode) == 13) $('loginform').submit()" />
				<button name="userlogin" type="submit" value="true">登录</button>
			</form>
		<? } ?>
		</p>
	</div>

	<div id="forumstats">
		<p>
			今日: <em><?=$todayposts?></em>, 昨日: <em><?=$postdata['0']?></em>, 最高日: <em><?=$postdata['1']?></em> &nbsp; <a href="digest.php">精华区</a>
			<? if($rssstatus) { ?><a href="rss.php?auth=<?=$rssauth?>" title="RSS 订阅全部版块" target="_blank"><img src="images/common/xml.gif" alt="RSS 订阅全部版块" /></a><? } ?>
		</p>
		<p>主题: <em><?=$threads?></em>, 帖子: <em><?=$posts?></em>, 会员: <em><?=$totalmembers?></em>, 欢迎新会员 <cite><a href="space.php?username=<?=$memberenc?>"><?=$lastmember?></a></cite></p>
	</div>
	<? if(!empty($google) && ($google & 1)) { ?>
		<div id="headsearch" style="clear: both">
		<script src="forumdata/cache/google_var.js" type="text/javascript"></script>
		<script src="include/javascript/google.js" type="text/javascript"></script>
		</div>
	<? } ?>
</div>

<? if(empty($gid) && $announcements) { ?>
	<div id="announcement" onmouseover="annstop = 1" onmouseout="annstop = 0">
		<div id="announcementbody"><ul><?=$announcements?></ul></div>
	</div>
	<script type="text/javascript">
		var anndelay = 3000;
		var annst = 0;
		var annstop = 0;
		var annrowcount = 0;
		var anncount = 0;
		var annlis = $('announcementbody').getElementsByTagName("LI");
		var annrows = new Array();
		var annstatus;

		function announcementScroll() {
			if(annstop) {
				annst = setTimeout('announcementScroll()', anndelay);
				return;
			}
			if(!annst) {
				var lasttop = -1;
				for(i = 0;i < annlis.length;i++) {

					if(lasttop != annlis[i].offsetTop) {
						if(lasttop == -1) {
							lasttop = 0;
						}
						annrows[annrowcount] = annlis[i].offsetTop - lasttop;
						annrowcount++;
					}
					lasttop = annlis[i].offsetTop;
				}

				if(annrows.length == 1) {
					$('announcement').onmouseover = $('announcement').onmouseout = null;
				} else {
					annrows[annrowcount] = annrows[1];
					$('announcementbody').innerHTML += '<br style="clear:both" />' + $('announcementbody').innerHTML;
					annst = setTimeout('announcementScroll()', anndelay);
				}
				annrowcount = 1;
				return;
			}

			if(annrowcount >= annrows.length) {
				$('announcementbody').scrollTop = 0;
				annrowcount = 1;
				annst = setTimeout('announcementScroll()', anndelay);
			} else {
				anncount = 0;
				announcementScrollnext(annrows[annrowcount]);
			}
		}

		function announcementScrollnext(time) {
			$('announcementbody').scrollTop++;
			anncount++;
			if(anncount != time) {
				annst = setTimeout('announcementScrollnext(' + time + ')', 10);
			} else {
				annrowcount++;
				annst = setTimeout('announcementScroll()', anndelay);
			}
		}
	</script>
<? } if($admode && empty($insenz['hardadstatus']) && !empty($advlist['text'])) { ?><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1"><?=$advlist['text']?></table></div><? } else { ?><div id="ad_text"></div><? } ?>

<table summary="HeadBox" class="portalbox" cellpadding="0" cellspacing="1">
	<tr>
	<? if($hottagstatus) { ?>
		<td>
		<? if($hottagstatus) { ?>
			<div id="hottags"><h3><a href="tag.php" target="_blank">热门标签</a></h3>
			<?=$_DCACHE['tags']?>
			</div>
		<? } ?>
		</td>
	<? } ?>
	<? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?>
		<td id="qihoosearch"<? if($hottagstatus) { ?> style="width: 242px;"<? } ?>>
		<? if(!empty($qihoo['status']) && ($qihoo['searchbox'] & 1)) { ?>
			<form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
				<input type="hidden" name="searchsubmit" value="yes" />
				<input type="text" name="srchtxt" value="<?=$qihoo_searchboxtxt?>" size="20" />
				<select name="stype">
					<option value="" selected="selected">全文</option>
					<option value="1">标题</option>
					<option value="2">作者</option>
				</select>
				&nbsp;<button name="searchsubmit" type="submit" value="true">搜索</button>
			</form>

			<? if(!empty($qihoo['links']['keywords'])) { ?>
				<strong>热门搜索</strong><? if(is_array($qihoo['links']['keywords'])) { foreach($qihoo['links']['keywords'] as $link) { ?>					<?=$link?>&nbsp;
				<? } } } ?>

			<? if($customtopics) { ?>
				<strong>用户专题</strong>&nbsp;&nbsp;<?=$customtopics?> [<a href="###" onclick="window.open('misc.php?action=customtopics', '', 'width=320,height=450,resizable=yes,scrollbars=yes');">编辑</a>]<br />
			<? } ?>

			<? if(!empty($qihoo['links']['topics'])) { ?>
				<strong>论坛专题</strong>&nbsp;<? if(is_array($qihoo['links']['topics'])) { foreach($qihoo['links']['topics'] as $url) { ?>					<?=$url?> &nbsp;
				<? } } } ?>
		<? } ?>
		</td>
	<? } ?>
	</tr>
</table>

<? if(!empty($insenz['vfstatus'])) { ?><script src="campaign.php?action=list" type="text/javascript"></script><? } if(is_array($catlist)) { foreach($catlist as $key => $cat) { if($cat['forumscount']) { ?>
		<div class="mainbox forumlist">
			<span class="headactions">
				<? if($cat['moderators']) { ?>分区版主: <?=$cat['moderators']?><? } ?>
				<img id="category_<?=$cat['fid']?>_img" src="<?=IMGDIR?>/<?=$cat['collapseimg']?>" title="收起/展开" alt="收起/展开" onclick="toggle_collapse('category_<?=$cat['fid']?>');" />
			</span>
			<h3><a href="<?=$indexname?>?gid=<?=$cat['fid']?>"><?=$cat['name']?></a></h3>
			<table id="category_<?=$cat['fid']?>" summary="category<?=$cat['fid']?>" cellspacing="0" cellpadding="0" style="<?=$collapse['category_'.$cat['fid']]?>">
			<? if(!$cat['forumcolumns']) { ?>
				<thead class="category">
					<tr>
						<th>版块</th>
						<td class="nums">主题</td>
						<td class="nums">帖数</td>
						<td class="lastpost">最后发表</td>
					</tr>
				</thead><? if(is_array($cat['forums'])) { foreach($cat['forums'] as $forumid) { $forum=$forumlist[$forumid]; ?><tbody id="forum<?=$forum['fid']?>">
						<tr>
							<th<?=$forum['folder']?>>
								<?=$forum['icon']?>
								<h2><a href="forumdisplay.php?fid=<?=$forum['fid']?>"><?=$forum['name']?></a><? if($forum['todayposts'] && !$forum['redirect']) { ?><em> (今日: <?=$forum['todayposts']?>)</em><? } ?></h2>
								<? if($forum['description']) { ?><p><?=$forum['description']?></p><? } ?>
								<? if($forum['subforums']) { ?><p>子版块: <?=$forum['subforums']?></p><? } ?>
								<? if($forum['moderators']) { if($moddisplay == 'flat') { ?><p class="moderators">版主: <?=$forum['moderators']?></p><? } else { ?><span class="dropmenu" id="mod<?=$forum['fid']?>" onmouseover="showMenu(this.id)">版主</span><ul class="moderators popupmenu_popup" id="mod<?=$forum['fid']?>_menu" style="display: none"><?=$forum['moderators']?></ul><? } } ?>
							</th>
							<td class="nums"><? if($forum['redirect']) { ?>--<? } else { ?><?=$forum['threads']?><? } ?></td>
							<td class="nums"><? if($forum['redirect']) { ?>--<? } else { ?><?=$forum['posts']?><? } ?></td>
							<td class="lastpost">
							<? if($forum['permission'] == 1) { ?>
								私密版块
							<? } else { ?>
								<? if($forum['redirect']) { ?>
									--
								<? } elseif(is_array($forum['lastpost'])) { ?>
									<a href="redirect.php?tid=<?=$forum['lastpost']['tid']?>&amp;goto=lastpost#lastpost"><? echo cutstr($forum['lastpost']['subject'], 40); ?></a>
									<cite>by <? if($forum['lastpost']['author']) { ?><?=$forum['lastpost']['author']?><? } else { ?>匿名<? } ?> - <?=$forum['lastpost']['dateline']?></cite>
								<? } else { ?>
									从未
								<? } ?>
							<? } ?>
							</td>
						</tr>
					</tbody>
				<? } } } else { ?>
					<tr><? if(is_array($cat['forums'])) { foreach($cat['forums'] as $forumid) { $forum=$forumlist[$forumid]; if($forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)) { ?>
							</tr></tbody>
							<? if($forum['orderid'] < $cat['forumscount']) { ?>
								<tbody><tr>
							<? } ?>
						<? } ?>
						<th width="<?=$cat['forumcolwidth']?>"<?=$forum['folder']?>>
							<h2><a href="forumdisplay.php?fid=<?=$forum['fid']?>"><?=$forum['name']?></a><? if($forum['todayposts']) { ?><em> (今日: <?=$forum['todayposts']?>)</em><? } ?></h2>
							<p>主题: <?=$forum['threads']?>, 帖数: <?=$forum['posts']?></p>
							<? if($forum['permission'] == 1) { ?>
								<p>私密版块
							<? } else { ?>
								<p>最后发表:
									<? if(is_array($forum['lastpost'])) { ?>
										<a href="redirect.php?tid=<?=$forum['lastpost']['tid']?>&amp;goto=lastpost#lastpost"><?=$forum['lastpost']['dateline']?></a>
										by <? if($forum['lastpost']['author']) { ?><?=$forum['lastpost']['author']?><? } else { ?>匿名<? } ?>
									<? } else { ?>
										从未
									<? } ?>
								</p>
							<? } ?>
						</th>
					<? } } ?><?=$cat['endrows']?>
			<? } ?>
			</table>
		</div>
		<? if($admode && empty($insenz['hardadstatus']) && !empty($advlist['intercat']) && ($advlist['intercat'][$key] = array_merge(($advlist['intercat']['0'] ? $advlist['intercat']['0'] : array()), ($advlist['intercat'][$key] ? $advlist['intercat'][$key] : array())))) { ?><div class="ad_column" id="ad_intercat_<?=$key?>"><? echo $advitems[$advlist['intercat'][$key][array_rand($advlist['intercat'][$key])]]; ?></div><? } else { ?><div id="ad_intercat_<?=$key?>"></div><? } ?>
	<? } } } if($_DCACHE['forumlinks']) { ?>
<div class="box">
	<span class="headactions"><img id="forumlinks_img" src="<?=IMGDIR?>/<?=$collapseimg['forumlinks']?>" alt="" onclick="toggle_collapse('forumlinks');" /></span>
	<h4>友情链接</h4>
	<table summary="友情链接" id="forumlinks" cellpadding="0" cellspacing="0" style="table-layout: fixed; <?=$collapse['forumlinks']?>"><? if(is_array($_DCACHE['forumlinks'])) { foreach($_DCACHE['forumlinks'] as $flink) { ?>			<tr>
				<td>
					<? if($flink['type'] == 1) { ?><img src="<?=$flink['logo']?>" alt="" class="forumlink_logo" /><? } ?>
					<?=$flink['content']?>
				</td>
			</tr>
		<? } } ?></table>
</div>
<? } if(empty($gid) && ($whosonlinestatus || $maxbdays)) { ?>
	<div class="box" id="online">
	<? if($whosonlinestatus) { ?>
		<? if($detailstatus) { ?>
			<span class="headactions"><a href="<?=$indexname?>?showoldetails=no#online" title="关闭"><img src="<?=IMGDIR?>/collapsed_no.gif" alt="关闭" /></a></span>
			<h4>
				<strong><a href="member.php?action=online">在线会员</a></strong>
				- <em><?=$onlinenum?></em> 人在线
				- <em><?=$membercount?></em> 会员(<em><?=$invisiblecount?></em> 隐身),
				<em><?=$guestcount?></em> 位游客
				- 最高记录是 <em><?=$onlineinfo['0']?></em> 于 <em><?=$onlineinfo['1']?></em>.
			</h4>
		<? } else { ?>
			<span class="headactions"><a href="<?=$indexname?>?showoldetails=yes#online" class="nobdr"><img src="<?=IMGDIR?>/collapsed_yes.gif" alt="" /></a></span>
			<h4>
				<strong><a href="member.php?action=online">在线会员</a></strong>
				- 共 <em><?=$onlinenum?></em> 人在线
				- 最高记录是 <em><?=$onlineinfo['0']?></em> 于 <em><?=$onlineinfo['1']?></em>.
			</h4>
		<? } ?>
	<? } else { ?>
		<h4><strong><a href="member.php?action=online">在线会员</a></strong></h4>
	<? } ?>
	<? if($maxbdays) { ?>
		<div id="bdayslist">
			<? if($_DCACHE['birthdays_index']['todaysbdays']) { ?><a href="member.php?action=list&amp;type=birthdays">今日生日</a>: <?=$_DCACHE['birthdays_index']['todaysbdays']?><? } else { ?>今天没有过生日的用户<? } ?>
		</div>
	<? } ?>
	<? if($whosonlinestatus) { ?>
		<dl id="onlinelist">
		<dt><?=$_DCACHE['onlinelist']['legend']?></dt>
		<? if($detailstatus) { ?>
			<dd>
			<ul class="userlist">
			<? if($whosonline) { if(is_array($whosonline)) { foreach($whosonline as $key => $online) { ?><li title="时间: <?=$online['lastactivity']?><?="\n"?> 操作: <?=$online['action']?> <? if($online['fid']) { ?><?="\n"?>版块: <?=$online['fid']?><? } ?>">
					<img src="images/common/<?=$online['icon']?>" alt="" />
					<? if($online['uid']) { ?>
						<a href="space.php?uid=<?=$online['uid']?>"><?=$online['username']?></a>
					<? } else { ?>
						<?=$online['username']?>
					<? } ?>
					</li><? } } } else { ?>
				<li style="width: auto">当前只有游客或隐身会员在线</li>
			<? } ?>
			</ul>
			</dd>
		<? } ?>
		</dl>
	<? } ?>
	</div>
<? } ?>

<div class="legend">
	<label><img src="<?=IMGDIR?>/forum_new.gif" alt="有新帖的版块" />有新帖的版块</label>
	<label><img src="<?=IMGDIR?>/forum.gif" alt="无新帖的版块" />无新帖的版块</label>
</div>
<? if(empty($gid) && $announcements) { ?>
	<script type="text/javascript">announcementScroll();</script>
<? } ?>
</div><? if(!empty($jsmenu['2'])) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="memcp_menu" style="display: none">
		<li><a href="memcp.php">控制面板首页</a></li>
		<li><a href="memcp.php?action=profile">编辑个人资料</a></li>
		<? if($exchangestatus || $transferstatus || $ec_ratio) { ?>
			<li><a href="memcp.php?action=credits">积分交易</a></li>
		<? } ?>
		<li><a href="memcp.php?action=creditslog">积分记录</a></li>
		<li><a href="memcp.php?action=usergroups">公众用户组</a></li>
		<? if($medalstatus) { ?>
			<li><a href="medal.php">勋章</a></li>
		<? } ?>
		<? if($creditspolicy['promotion_visit'] || $creditspolicy['promotion_register']) { ?>
			<li><a href="memcp.php">访问推广</a></li>
		<? } ?>
	</ul>
<? } if(!empty($plugins['jsmenu'])) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="plugin_menu" style="display: none"><? if(is_array($plugins['jsmenu'])) { foreach($plugins['jsmenu'] as $module) { ?>	     <? if(!$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)) { ?>
	     <li><?=$module['url']?></li>
	     <? } ?>
	<? } } ?></ul>
<? } if(!empty($jsmenu['3'])) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="stats_menu" style="display: none">
		<li><a href="stats.php">基本概况</a></li>
		<? if($statstatus) { ?>
			<li><a href="stats.php?type=views">流量统计</a></li><li><a href="stats.php?type=agent">客户软件</a></li><li><a href="stats.php?type=posts">发帖量记录</a></li>
		<? } ?>
		<li><a href="stats.php?type=forumsrank">版块排行</a></li><li><a href="stats.php?type=threadsrank">主题排行</a></li><li><a href="stats.php?type=postsrank">发帖排行</a></li><li><a href="stats.php?type=creditsrank">积分排行</a></li>
		<li><a href="stats.php?type=trade">交易排行</a></li>
		<? if($oltimespan) { ?><li><a href="stats.php?type=onlinetime">在线时间</a></li><? } ?>
		<li><a href="stats.php?type=team">管理团队</a></li>
		<? if($modworkstatus) { ?><li><a href="stats.php?type=modworks">管理统计</a></li><? } ?>
	</ul>
<? } if($discuz_uid && $jsmenu['4']) { ?>
	<ul class="popupmenu_popup headermenu_popup" id="my_menu" style="display: none">
		<li><a href="my.php?item=threads">我的话题</a></li>
		<li><a href="my.php?item=favorites&amp;type=thread">我的收藏</a></li>
		<li><a href="my.php?item=subscriptions">我的订阅</a></li>
		<li><a href="my.php?item=grouppermission">我的权限</a></li>
		<li><a href="my.php?item=polls&amp;type=poll">我的投票</a></li>
		<li><a href="my.php?item=tradestats">我的商品</a></li>
		<li><a href="my.php?item=reward&amp;type=stats">我的悬赏</a></li>
		<li><a href="my.php?item=activities&amp;type=orig&amp;ended=no">我的活动</a></li>
		<li><a href="my.php?item=debate&amp;type=debate">我的辩论</a></li>
		<? if($videoopen) { ?>
			<li><a href="my.php?item=video">我的视频</a></li>
		<? } ?>
		<li><a href="my.php?item=buddylist">我的好友</a></li>
		<? if($ucappopen['UCHOME']) { ?>
			<li><a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">我的空间</a></li>
		<? } elseif($ucappopen['XSPACE']) { ?>
			<li><a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">我的空间</a></li>
		<? } ?>
	</ul>
<? } if($discuz_uid) { ?>
	<ul class="popupmenu_popup" id="viewpro_menu" style="display: none">
		<li class="popavatar"><? echo discuz_uc_avatar($discuz_uid, 'small');; ?></li>
		<li class="popuser"><a href="space.php?uid=<?=$discuz_uid?>">我的资料</a></li>
		<li class="poplink">
		<? if($ucappopen['UCHOME']) { ?>
			<a href="<?=$uchomeurl?>/space.php?uid=<?=$discuz_uid?>" target="_blank">我的空间</a>
		<? } elseif($ucappopen['XSPACE']) { ?>
			<a href="<?=$xspaceurl?>/?uid-<?=$discuz_uid?>" target="_blank">我的空间</a>
		<? } else { ?>
			我的空间
		<? } ?>
		</li>
	</ul>
<? } if($admode && empty($insenz['hardadstatus']) && !empty($advlist)) { ?>
	<div class="ad_footerbanner" id="ad_footerbanner1"><?=$advlist['footerbanner1']?></div><div class="ad_footerbanner" id="ad_footerbanner2"><?=$advlist['footerbanner2']?></div><div class="ad_footerbanner" id="ad_footerbanner3"><?=$advlist['footerbanner3']?></div>
<? } else { ?>
	<div id="ad_footerbanner1"></div><div id="ad_footerbanner2"></div><div id="ad_footerbanner3"></div>
<? } ?>

<div id="footer">
	<div class="wrap">
		<div id="footlinks">
			<p>当前时区 GMT<?=$timenow['offset']?>, 现在时间是 <?=$timenow['time']?><? if($icp) { ?> <a href="http://www.miibeian.gov.cn/" target="_blank"><?=$icp?></a><? } ?></p>
			<p>
				<a href="member.php?action=clearcookies&amp;formhash=<?=FORMHASH?>">清除 Cookies</a>
				- <a href="mailto:<?=$adminemail?>">联系我们</a> - <a href="<?=$siteurl?>" target="_blank"><?=$sitename?></a>
				<? if($archiverstatus) { ?> - <a href="archiver/" target="_blank">Archiver</a><? } ?>
				<? if($wapstatus) { ?> - <a href="wap/" target="_blank">WAP</a><? } ?>
				- <span class="scrolltop" onclick="window.scrollTo(0,0);">TOP</span>
				<? if(!empty($stylejumpstatus)) { ?>
					- <span id="styleswitcher" class="dropmenu" onmouseover="showMenu(this.id)">界面风格</span>
					<script type="text/javascript">
					function setstyle(styleid) {
					<? if(CURSCRIPT == 'forumdisplay') { ?>
						location.href = 'forumdisplay.php?fid=<?=$fid?>&page=<?=$page?>&styleid=' + styleid;
					<? } elseif(CURSCRIPT == 'viewthread') { ?>
						location.href = 'viewthread.php?tid=<?=$tid?>&page=<?=$page?>&styleid=' + styleid;
					<? } else { ?>
						location.href = '<?=$indexname?>?styleid=' + styleid;
					<? } ?>
					}
					</script>
					<div id="styleswitcher_menu" class="popupmenu_popup" style="display: none;">
					<ul><? if(is_array($stylejump)) { foreach($stylejump as $id => $name) { ?><li<? if($id == $styleid) { ?> class="current"<? } ?>><a href="###" onclick="setstyle(<?=$id?>)"><?=$name?></a></li><? } } ?></ul>
					</div>
				<? } ?>
			</p>
		</div>

		<a href="http://www.discuz.net" target="_blank" title="Powered by Discuz!"><img src="<?=IMGDIR?>/discuz_icon.gif" border="0" alt="Discuz!" /></a>
		<p id="copyright">
			Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em><?=$version?></em><? if(!empty($boardlicensed)) { ?> <a href="http://license.comsenz.com/?pid=1&amp;host=<?=$_SERVER['HTTP_HOST']?>" target="_blank">Licensed</a><? } ?>
			&copy; 2001-2008 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a>
		</p><? updatesession(); if(debuginfo()) { ?>
			<p id="debuginfo">Processed in <?=$debuginfo['time']?> second(s), <?=$debuginfo['queries']?> queries<? if($gzipcompress) { ?>, Gzip enabled<? } ?>.</p>
		<? } ?>
	</div>
</div>
<? if($_DCACHE['settings']['frameon'] && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && $_DCOOKIE['frameon'] == 'yes') { ?>
	<script src="include/javascript/iframe.js" type="text/javascript"></script>
<? } output(); ?></body>
</html>